package interfaces.hud.topWindows;

import org.fenggui.layout.StaticLayout;

import logic.common.game.Game;
import interfaces.hud.BasicHUD;
import interfaces.superWidgets.InterfaceWindow;

public class TopHUDWindow extends InterfaceWindow {
	
	protected Game game;
	protected BasicHUD hud;
	
	public TopHUDWindow(Game game, BasicHUD hud, int width, int height) {
		super(false, "");
		this.game = game;
		this.hud = hud;
		
		content.setLayoutManager(new StaticLayout());
		setSize(width, height);
		setXY((hud.getWidth() / 2) - (width / 2), hud.getHeight() - height);
		
		layout();
	}
}